package run;

public class StaticProxy implements Run{
    private Run myrun;

    public StaticProxy(Run myrun) {
        this.myrun = myrun;
    }

    @Override
    public void run() {
        // 重构或添加run方法的执行
        System.out.println("StaticProxy.run() begin");
        myrun.run();
        System.out.println("StaticProxy.run() end");
    }

}
